import { useState } from 'react'

import Modal from '../modal/Modal'
import * as styles from './Taskbar.module.less'

const Taskbar = () => {
  const [visible, setVisible] = useState(false)
  return (
    <div className={styles.taskbar}>
      taskbar
      <div>
        <button onClick={() => setVisible(true)}>click</button>
      </div>
      <Modal visible={visible} onClose={() => setVisible(false)}>
        sdsd
      </Modal>
    </div>
  )
}

export default Taskbar
